import axios from '@/apis/axios/index.js'
const baseUrl = `/erp/bill/labelStockIn`


export function addData(params) {
	return axios.request({
		url: `${baseUrl}/addData`,
		method: 'post',
		data: params
	})
}

export function cancel(params) {
	return axios.request({
		url: `${baseUrl}/cancel`,
		method: 'post',
		data: params
	})
}

export function updateData(params) {
	return axios.request({
		url: `${baseUrl}/updateData`,
		method: 'post',
		data: params
	})
}

export function getVoById(params) {
	return axios.request({
		url: `${baseUrl}/getVoById`,
		method: 'post',
		data: params
	})
}

export function listPage(params) {
	return axios.request({
		url: `${baseUrl}/listPage`,
		method: 'post',
		data: params
	})
}

export function getDefaultPrintTemplate(params) {
	return axios.request({
		url: `${baseUrl}/getDefaultPrintTemplate`,
		method: 'post',
		data: params
	})
}